/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.ui.graphical.tools;

import java.awt.event.KeyEvent;

/**
 * Class which listen all the input events
 * 
 * @author matt
 */
public interface UserInputListener {

	/**
	 * Select the graphical Card Invoked when we click on a Card
	 * 
	 * @param selectedGCard
	 *            the selected graphical Card
	 */
	public void onSelectedCardChanged(GraphicsCard selectedGCard);

	/**
	 * Select the graphical Zone Invoked when we click on a Zone
	 * 
	 * @param selectedGZone
	 *            the selected graphical Zone
	 */
	public void onZoneSelected(GraphicsZone selectedGZone);

	/**
	 * Invoked when a key has been pressed.
	 * 
	 * @param e
	 *            the KeyEvent to listen to
	 * @param deck
	 *            the deck
	 */
	public void onKeyPressed(KeyEvent e, Deck deck);
}
